﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using TileEngine.items.tiles.material;
using TileEngine.items.pickaxes;

namespace TileEngine.items
{
    class ItemTextures
    {
        public static Texture2D getTexture(Type item){
            if (item == typeof(AdamentineItem))
                return Textures.adamentineItem;
            if (item == typeof(BoronItem))
                return Textures.boronItem;
            if (item == typeof(CoalItem))
                return Textures.coalItem;
            if (item == typeof(CobaltItem))
                return Textures.cobaltItem;
            if (item == typeof(CopperItem))
                return Textures.copperItem;
            if (item == typeof(CromeItem))
                return Textures.cromeItem;
            if (item == typeof(GoldItem))
                return Textures.goldItem;
            if (item == typeof(IronItem))
                return Textures.ironItem;
            if (item == typeof(MithrilItem))
                return Textures.mithrilItem;
            if (item == typeof(NikelItem))
                return Textures.nikelItem;
            if (item == typeof(PhosphorItem))
                return Textures.phosphorItem;
            if (item == typeof(PlatinumItem))
                return Textures.platinumItem;
            if (item == typeof(SilverItem))
                return Textures.silverItem;
            if (item == typeof(TitaniumItem))
                return Textures.titaniumItem;
            if (item == typeof(DirtItem))
                return Textures.dirtItem;
            if (item == typeof(StoneItem))
                return Textures.stoneItem;
            if (item == typeof(Pickaxe))
                return Textures.pickaxe;
            return Textures.empty;
        }
    }
}
